#!/usr/bin/python

import sys
from Bio import SeqIO

fastq_file = sys.argv[1]

fq_dict = SeqIO.index(fastq_file, "fastq")

for s in fq_dict.keys()[:4]:
    print fq_dict[s].seq